<!DOCTYPE html>
<html>

<head>
    <title></title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link href="../bootstrap-5.1.3-dist/css/bootstrap.css" rel="stylesheet">
    <script src="../bootstrap-5.1.3-dist/js/bootstrap.bundle.js"></script>
</head>

<body class="container">
    <h3 align="center">带下拉菜单的胶囊式导航</h3>
    <ul class="nav nav-pills">
        <li class="nav-item">
            <a class="nav-link" href="#">经典教材</a>
        </li>
        <li class="nav-item dropdown">
            <a class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="#">热门课程</a>
            <div class="dropdown-menu">
                <a class="dropdown-item active" href="#">网络安全训练营</a>
                <a class="dropdown-item" href="#">Python智能开发训练营</a>
                <a class="dropdown-item" href="#">网站开发训练营</a>
                <a class="dropdown-item" href="#">Java开发训练营</a>
            </div>
        </li>
        <li class="nav-item">
            <a class="nav-link" href="#">技术支持</a>
        </li>
        <li class="nav-item">
            <a class="nav-link" href="#">联系我们</a>
        </li>
    </ul>
</body>

</html>